#!/bin/bash
cd ~
mkdir .pip
cd .pip
touch pip.conf
echo "[global]
timeout =6000
index-url =http://pypi.douban.com/simple/
[install]
use-mirrors =true
mirrors =http://pypi.douban.com/simple/
trusted-host =pypi.douban.com" >  ~/.pip/pip.conf